<script setup lang="ts">
import { inject } from 'vue';

const num = inject<number>("num", 1);
</script>

<template>
    <div>{{ num }}</div>
</template>